]> dgit.raspbian.org Git - gnome-shell.git/commit
st-texture-cache: Rearrange code to prevent some work and a memory leak
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 19 Oct 2011 01:52:46 +0000 (21:52 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 20 Oct 2011 19:26:41 +0000 (15:26 -0400)
commit0dd4584157a32dddeae93cec43467889d850d011
treea8f845c9ab28c627230add43e5dfa81d5eb47990
parentb7bf712b977913c97ec8a681ec02790cecdbb5a3
st-texture-cache: Rearrange code to prevent some work and a memory leak

For some reason, the texture cache decides to make a request and then look up
an icon in the icon theme. If it's valid, it just returns, fine, but if it
doesn't add the icon, it tries to undo the request, leaking an
AsyncTextureLoadData that isn't freed in the process.

https://bugzilla.gnome.org/show_bug.cgi?id=660968
src/st/st-texture-cache.c